application of superposition theorem